module.exports = app => {
  const { router, controller } = app;
  router.get('/login', controller.administrator.login.index);
  router.get('/register', controller.administrator.register.index);
  router.get('/home', controller.administrator.home.index);
  router.get('/', controller.administrator.home.index);
  router.get('/home/switch', controller.administrator.switch.index);
  router.get('/home/gmk', controller.administrator.gmk.index);
  router.get('/home/box', controller.administrator.box.index);
  router.post('/doLogin', controller.administrator.doLogin.index);
  router.post('/doRegister', controller.administrator.doRegister.index);
  router.post('/doForm', controller.administrator.doForm.index);
  router.get('/doRemove', controller.administrator.doRemove.index);
};